package org.jeecg.vo.meter;

import lombok.Data;
import org.jeecg.enums.PayModeEnum;
import org.jeecg.enums.PayStatusEnum;
import org.jeecg.enums.common.PayTypeEnum;
import org.jeecgframework.poi.excel.annotation.Excel;

@Data
public class MeterOrderExVo {
    @Excel(name = "订单号", width = 25)
    private  String sn;
    @Excel(name = "项目", width = 15)
    private  String projectName;
    @Excel(name = "楼宇", width = 15)
    private String floorName;
    @Excel(name = "房间", width = 15)
    private String roomName;
    @Excel(name = "表号", width = 15)
    private  String meterCode;
    @Excel(name = "设备名称", width = 15)
    private  String name;
    @Excel(name = "缴费金额", width = 15)
    private  String payAmount;
    @Excel(name = "类型", width = 15)
    private  String meterTypeStr;
    private  Integer meterType;
    @Excel(name = "缴费类型", width = 15)
    private  String meterPayType;
    @Excel(name = "支付时间", width = 15)
    private String payTime;
    @Excel(name = "支付状态", width = 15)
    private  String payStatusStr;
    @Excel(name = "支付方式", width = 15)
    private  String payTypeVoStr;
    private  String payType;
    @Excel(name = "收款模式", width = 15)
    private  String payModeStr;
    private  String payMode;
    @Excel(name = "退款状态", width = 15)
    private  String refundStatusStr;
    @Excel(name = "退款日期", width = 15)
    private  String refundTime;
    @Excel(name = "退款人", width = 15)
    private  String refundName;
    @Excel(name = "收款人", width = 15)
    private  String createName;
    private Integer payStatus;

    public String getPayStatusStr() {
        return PayStatusEnum.getDesc(this.getPayStatus());
    }
    public String getPayTypeVoStr() {
        return PayTypeEnum.getDesc(Integer.valueOf(this.getPayType()));
    } public String getPayModeStr() {
        return PayModeEnum.getDesc(this.getPayMode());
    }



}
